object EventGrRepForm: TEventGrRepForm
  Left = 0
  Top = 0
  Caption = #1054#1090#1095#1077#1090' '#1087#1086' '#1084#1077#1088#1086#1087#1088#1080#1103#1090#1080#1103#1084' ('#1072#1085#1072#1083#1080#1090#1080#1095#1077#1089#1082#1080#1081')'
  ClientHeight = 384
  ClientWidth = 838
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  FormStyle = fsMDIChild
  OldCreateOrder = False
  Visible = True
  OnActivate = FormActivate
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object Splitter1: TSplitter
    Left = 261
    Top = 24
    Width = 5
    Height = 341
    ExplicitTop = 0
    ExplicitHeight = 384
  end
  object Panel1: TPanel
    Left = 0
    Top = 24
    Width = 261
    Height = 341
    Align = alLeft
    BevelOuter = bvNone
    Color = clWhite
    ParentBackground = False
    TabOrder = 0
    object JvXPBar1: TJvXPBar
      Left = 0
      Top = 0
      Width = 261
      Height = 203
      Caption = #1055#1072#1088#1072#1084#1077#1090#1088#1099' '#1086#1090#1095#1077#1090#1072
      Colors.BodyColor = clWhite
      Items = <
        item
        end
        item
        end
        item
        end
        item
        end
        item
        end
        item
        end
        item
        end
        item
        end>
      OwnerDraw = False
      Icon.Data = {
        0000010001002020100000000000E80200001600000028000000200000004000
        0000010004000000000080020000000000000000000000000000000000000000
        000000008000008000000080800080000000800080008080000080808000C0C0
        C0000000FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF000000
        0000000000000000000000000000007777777777777777777777770070000077
        77777777777777777777700007000000000000000000000000070000070000FF
        FFFFFFFFFFFFFFFFFFF00007000000F8888888888888888888000078000000F8
        888888888888888880000780000000FFFFFFFF8FFFFFFFFF00007800000000F8
        F8F8FF8F8888888000078070000000FFFFFFFF8FFFFFFF0000780770000000F8
        88F8FF8F88F8800007807770000000FFFFFFFF8FFFFF000078077770000000FF
        FFFFFF8FFFFF000700F07770000000FFFFFFFF8FFFF000700FF07770000000F8
        888888888803110088F07770000000FFFFFFFFFFF0311FFFFFF07770000000F8
        88888F8F0311888888F07770000000770FFFFFF0311FFFFFFFF0777000000770
        00FFFF0311FFFFFFFFF077700000077770CC00311CCCCCCCCCF0777000000777
        00003311CCCCCCCCCCF07770000000807703311FFFFFFFFFFFF07770000000F8
        777011FFFFFFFFFFFFF07770000000F887770088888F888888F07770000000FF
        88770000078FFFFFFFF07770000000F44F8777777F44444444F07770000000F4
        44F88778F444444444F07770000000F44444F8F44444444444F07770000000F4
        444444444444444444F07770000000FFFFFFFFFFFFFFFFFFFFF0000000000000
        000000000000000000000000000000000000000000000000000000000000FFFF
        FFFFC0000007C00000038000000380000003800000078000000F8000001F8000
        001F8000001F8000001F8000001F8000001F8000001F8000001F8000001F8000
        001FC000001F8000001F8000001F8000001FC000001F8000001F8000001F8000
        001F8000001F8000001F8000001F8000001F800000FF800000FFFFFFFFFF}
      ShowItemFrame = False
      RoundedItemFrame = 0
      Align = alTop
      object Panel2: TPanel
        Left = 4
        Top = 36
        Width = 253
        Height = 163
        Align = alClient
        BevelOuter = bvNone
        Color = clWhite
        ParentBackground = False
        TabOrder = 0
        object GroupBox1: TGroupBox
          Left = 0
          Top = 0
          Width = 253
          Height = 41
          Align = alTop
          Caption = #1055#1077#1088#1080#1086#1076
          TabOrder = 0
          object Label2: TLabel
            Left = 33
            Top = 16
            Width = 5
            Height = 13
            Caption = 'c'
          end
          object Label3: TLabel
            Left = 136
            Top = 16
            Width = 12
            Height = 13
            Caption = #1087#1086
          end
          object D1: TDateTimePicker
            Left = 48
            Top = 12
            Width = 82
            Height = 21
            Date = 39734.518566076390000000
            Time = 39734.518566076390000000
            TabOrder = 0
          end
          object D2: TDateTimePicker
            Left = 160
            Top = 12
            Width = 86
            Height = 21
            Date = 39734.519226701390000000
            Time = 39734.519226701390000000
            TabOrder = 1
          end
        end
        object Kontragent: TDBLookupComboboxEh
          Left = 2
          Top = 88
          Width = 248
          Height = 19
          DropDownBox.AutoDrop = True
          DropDownBox.Rows = 10
          DropDownBox.Sizable = True
          DropDownBox.SpecRow.Visible = True
          EditButtons = <>
          Flat = True
          KeyField = 'CODE'
          ListField = 'NAME'
          ListSource = KSource
          Style = csDropDownEh
          TabOrder = 1
          Visible = True
        end
        object IsPrincipal: TCheckBox
          Left = 2
          Top = 70
          Width = 205
          Height = 17
          Caption = #1055#1088#1080#1085#1094#1080#1087#1072#1083
          TabOrder = 2
        end
        object Collector: TDBLookupComboboxEh
          Left = 2
          Top = 125
          Width = 248
          Height = 19
          EditButtons = <>
          Flat = True
          KeyField = 'CODE'
          ListField = 'NAME'
          ListSource = CSource
          TabOrder = 3
          Visible = True
        end
        object IsCollector: TCheckBox
          Left = 2
          Top = 108
          Width = 150
          Height = 17
          Caption = #1050#1086#1083#1083#1077#1082#1090#1086#1088
          TabOrder = 4
        end
        object RType: TComboBox
          Left = 2
          Top = 47
          Width = 249
          Height = 21
          Style = csDropDownList
          ItemIndex = 1
          TabOrder = 5
          Text = #1087#1086' '#1076#1072#1090#1077' '#1087#1083#1072#1085#1080#1088#1086#1074#1072#1085#1080#1103
          Items.Strings = (
            #1087#1086' '#1076#1072#1090#1077' '#1089#1086#1079#1076#1072#1085#1080#1103
            #1087#1086' '#1076#1072#1090#1077' '#1087#1083#1072#1085#1080#1088#1086#1074#1072#1085#1080#1103
            #1087#1086' '#1076#1072#1090#1077' '#1074#1099#1087#1086#1083#1085#1077#1085#1080#1103)
        end
        object IsActive: TCheckBox
          Left = 2
          Top = 146
          Width = 239
          Height = 17
          Caption = #1055#1086#1082#1072#1079#1099#1074#1072#1090#1100' '#1085#1077#1079#1072#1074#1088#1096#1077#1085#1085#1099#1077
          TabOrder = 6
        end
      end
    end
    object JvXPBar2: TJvXPBar
      Left = 0
      Top = 203
      Width = 261
      Height = 35
      Caption = #1057#1092#1086#1088#1084#1080#1088#1086#1074#1072#1090#1100' '#1086#1090#1095#1077#1090
      Items = <>
      OwnerDraw = False
      Icon.Data = {
        0000010001002020100000000000E80200001600000028000000200000004000
        0000010004000000000080020000000000000000000000000000000000000000
        000000008000008000000080800080000000800080008080000080808000C0C0
        C0000000FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF000000
        0000000000000000000000000000000000330000003033000000033000000000
        003300000037030000000330000000000F880000044784400000F88000000000
        0000000000078000000000000000008FFF8FFFF0F8F78F870FFFF8FFF8000088
        88888880F8F78F87088888888800008FFFFFFFF0F8F78F870FFFFFFFF8000008
        FFFFFFF0F8F78F870FFFFFFF800000008FFFFFF0F8F78F870FFFFFF800000000
        08FFFFF0F8FF8F870FFFFF8000000000008FFFF0F8FFFF870FFFF80000000000
        0F08FFF0F8FFFF870FFF8070000000000F808FF0F8FFFF870FF8087000000000
        0F8708F0F8FFFF870F80F870000000000F870080F8FFFF870800F87000000000
        0F870C00F8FFFF870040F870000000000F870CC0F8FFFF870440F87000000000
        0F870CC0F8FFFF870440F870000000000F870CC0F8FFFF870440F87000000000
        0F870CC0F8FFFF870440F870000000000F870CC0F8FFFF870440F87000000000
        0F8700C0F8FFFF870400F870000000000F8700C0FFCFF4F70400F87000000000
        0F8700CC0F4C4CF04400F870000000000F87000C0FF4CFF04000F87000000000
        0080000CC0FFFF04400008000000000000000000CC0FF0C40000000000000000
        00000000CCC00C440000000000000000000000000CCCC4C00000000000000000
        00000000000CC00000000000000000000000000000000000000000000000F070
        0E0FF8F81F1FF8F81F1FF0700E0FC0000003800000018000000180000001C000
        0003E0000007F000000FF000000FF000000FF000000FF000000FF000000FF000
        000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000
        000FF040020FF8C0031FFDE007BFFFE007FFFFF00FFFFFF81FFFFFFE7FFF}
      ShowRollButton = False
      ShowItemFrame = False
      RoundedItemFrame = 0
      Align = alTop
      OnClick = JvXPBar2Click
    end
    object JvXPBar3: TJvXPBar
      Left = 0
      Top = 238
      Width = 261
      Height = 35
      Caption = #1069#1082#1089#1087#1086#1088#1090' '#1074' Excel'
      Items = <>
      OwnerDraw = False
      Icon.Data = {
        0000010001002020100000000000E80200001600000028000000200000004000
        0000010004000000000080020000000000000000000000000000000000000000
        000000008000008000000080800080000000800080008080000080808000C0C0
        C0000000FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF000000
        0000000000000000000000000000000000000000000000000000000000000000
        00000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFF0000000
        FFFFFFFFFFFFFFFFFFFFFFFFF0000000FFCCCCCCCCCCCCCCCCCCCFFFF0000000
        FFCFFCFFCFFCFFCFFCFFCFFFF0000000FFCFFCFFCFFCFFCFFCFFCFFFF0000000
        FFCCCCCCCCCCCCCCCCCCCCCCF0000000FFCFFCFFCFFCFFCFFCFFCFFCF0000000
        FFCFFCFFCFFCFFCFFCFFCFFCF0000000FFCCCCCCCCCCCCCCCCCCCCCCF0000000
        FFCFFCFFCFFCFFCFFCFFCFFCF0000000FFCFFCFFCFFCFFCFFCFFCFFCF0000000
        FFCCCCCCCCCCCCCCCCCCCCCCF0000000FFCFFCFFCFFCFFCFFCFFCFFCF0000000
        FFCFFCFFCFFCFFCFFCFFCFFCF0000000FFCCCCCCCCCCCCCCCCCCCCCCF0000000
        FFFFFFFFFFFFFFCFFCFFCFFCF0000000FFFFFFF00000FFCFFCFFCFFCF0000000
        000000066660FFCCCCCCCCCCF00007777777706EEF0FFFFFFFFFFFFFF00000E6
        666606EEF0222222222222FFF000000E66606EEF06022222222222FFF0000000
        E606EEF000022222222222FFF0000000006EEF0FFFFFFFFFFFFFFFFFF0000000
        06EEF0000000000000000000000000006EEF0670000000000000000000000006
        EEF0E66700000000000000000000006EEF000E66700000000000000000000FFF
        F00000EEEE00000000000000000000000000000000000000000000000000FFFF
        FFFFFFFFFFFFE0000003E0000003E0000003E0000003E0000003E0000003E000
        0003E0000003E0000003E0000003E0000003E0000003E0000003E0000003E000
        0003E0000003E0000003E0000003000000030000000380000003C0000003E000
        0003F0000003F0000003E00FFFFFC007FFFF8103FFFF0381FFFF07C1FFFF}
      ShowRollButton = False
      ShowItemFrame = False
      RoundedItemFrame = 0
      Align = alTop
      OnClick = JvXPBar3Click
    end
  end
  object Grid: TDBGridEh
    Left = 266
    Top = 24
    Width = 572
    Height = 341
    Align = alClient
    DataSource = DataSource
    Flat = True
    FooterColor = clWindow
    FooterFont.Charset = DEFAULT_CHARSET
    FooterFont.Color = clWindowText
    FooterFont.Height = -11
    FooterFont.Name = 'Tahoma'
    FooterFont.Style = []
    FooterRowCount = 1
    ReadOnly = True
    RowDetailPanel.Color = clBtnFace
    SumList.Active = True
    TabOrder = 1
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Tahoma'
    TitleFont.Style = []
    UseMultiTitle = True
    object RowDetailData: TRowDetailPanelControlEh
    end
  end
  object StatusBar: TStatusBar
    Left = 0
    Top = 365
    Width = 838
    Height = 19
    Panels = <
      item
        Width = 70
      end
      item
        Width = 70
      end
      item
        Width = 50
      end>
  end
  object Ribbon: TdxRibbon
    Left = 0
    Top = 0
    Width = 838
    Height = 24
    BarManager = AgentRepForm.barmen1
    ColorSchemeName = 'Blue'
    ShowTabGroups = False
    ShowTabHeaders = False
    SupportNonClientDrawing = True
    Contexts = <>
    TabOrder = 3
    TabStop = False
    object RibbonTab1: TdxRibbonTab
      Active = True
      Caption = 'RibbonTab1'
      Groups = <>
      Index = 0
    end
  end
  object JvFormStorage1: TJvFormStorage
    AppStorage = JvAppIniFileStorage1
    AppStoragePath = 'EventGrRepForm\'
    StoredProps.Strings = (
      'Panel1.Width'
      'IsPrincipal.Checked'
      'IsCollector.Checked'
      'D1.Date'
      'D2.Date'
      'RType.ItemIndex'
      'IsActive.Checked')
    StoredValues = <>
    Left = 276
    Top = 48
  end
  object JvAppIniFileStorage1: TJvAppIniFileStorage
    StorageOptions.BooleanStringTrueValues = 'TRUE, YES, Y'
    StorageOptions.BooleanStringFalseValues = 'FALSE, NO, N'
    FileName = 'Forms.ini'
    SubStorages = <>
    Left = 304
    Top = 48
  end
  object KSource: TDataSource
    DataSet = KDS
    Left = 304
    Top = 76
  end
  object KDS: TpFIBDataSet
    SelectSQL.Strings = (
      'SELECT'
      '    CODE,'
      '    NAME'
      'FROM'
      '    SPR$KONTRAGENT '
      'WHERE State=1'
      'ORDER BY Name')
    Transaction = dm1.trnRD
    Database = dm1.db1
    UpdateTransaction = dm1.trnWr
    Left = 276
    Top = 76
  end
  object CDS: TpFIBDataSet
    SelectSQL.Strings = (
      'SELECT'
      '    CODE,'
      '    NAME'
      'FROM'
      '    SPR$USERS '
      'WHERE State=1'
      'ORDER BY Name')
    Transaction = dm1.trnRD
    Database = dm1.db1
    UpdateTransaction = dm1.trnWr
    Left = 276
    Top = 104
  end
  object CSource: TDataSource
    DataSet = CDS
    Left = 304
    Top = 104
  end
  object DS: TpFIBDataSet
    SelectSQL.Strings = (
      
        'select * from VIC_GETEVENTSGROUP(:D1,:D2,:Kontragent,:Collector,' +
        ':RepType,:RType)')
    Transaction = dm1.trnRD
    Database = dm1.db1
    UpdateTransaction = dm1.trnWr
    Left = 280
    Top = 148
  end
  object T1: TMemTableEh
    Params = <>
    Left = 304
    Top = 144
  end
  object T2: TMemTableEh
    Params = <>
    Left = 328
    Top = 144
  end
  object DataSource: TDataSource
    DataSet = T2
    Left = 356
    Top = 144
  end
  object dlg1: TJvSaveDialog
    Filter = #1060#1072#1081#1083#1099' Excel|*.xls'
    Height = 0
    Width = 0
    Left = 344
    Top = 104
  end
end
